import java.util.Scanner;

public class bankKing {
    public static void main(String[] args) {
        Scanner input = new Scanner(System.in);
        double money;
        System.out.print("请输入本金为");
        money = input.nextDouble();
        double moneyOne = money + (money * 0.35) * 0.01;
        Math.round(moneyOne);
        System.out.println("活期一年本金总计为" + (int) moneyOne);

        double moneyTwo = money + (money * 1.50) * 0.01;
        Math.round(moneyTwo);
        System.out.println("定期一年本金总计为" + (int) moneyTwo);

        double moneyThree = money + (money * (0.35 * 2.0)) * 0.01;
        Math.round(moneyThree);
        System.out.println("活期二年本金总计为" + (int) moneyThree);

        double moneyFour = money + (money * 2.10 * 2.0) * 0.01;
        Math.round(moneyFour);
        System.out.println("定期二年年本金总计为" + (int) moneyFour);
    }

}
